#!/usr/bin/env bash

exp="${HOME}/datas/wenet_weight/20210601_u2++_conformer_exp_aishell" # Change it to your experiment dir
onnx_dir="${HOME}/tmp/wenet"

python -m wenet.bin.export_onnx_cpu \
  --config ${exp}/train.yaml \
  --checkpoint ${exp}/final.pt \
  --chunk_size 16 \
  --output_dir $onnx_dir \
  --num_decoding_left_chunks -1
